package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 招待费用申请对象 zdfsq
 * 
 * @author ruoyi
 * @date 2024-01-05
 */
public class Zdfsq extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 员工id */
    private Long id;

    /** 申请部门 */
    @Excel(name = "申请部门")
    private String applicant;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date requestDate;

    /** 招待理由 */
    @Excel(name = "招待理由")
    private String reason;

    /** 预计金额 */
    @Excel(name = "预计金额")
    private Long estimatedCost;

    /** 审批状态 */
    @Excel(name = "审批状态")
    private Long status;

    /** 审批完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审批完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date approvalDate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setApplicant(String applicant) 
    {
        this.applicant = applicant;
    }

    public String getApplicant() 
    {
        return applicant;
    }
    public void setRequestDate(Date requestDate) 
    {
        this.requestDate = requestDate;
    }

    public Date getRequestDate() 
    {
        return requestDate;
    }
    public void setReason(String reason) 
    {
        this.reason = reason;
    }

    public String getReason() 
    {
        return reason;
    }
    public void setEstimatedCost(Long estimatedCost) 
    {
        this.estimatedCost = estimatedCost;
    }

    public Long getEstimatedCost() 
    {
        return estimatedCost;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setApprovalDate(Date approvalDate) 
    {
        this.approvalDate = approvalDate;
    }

    public Date getApprovalDate() 
    {
        return approvalDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("applicant", getApplicant())
            .append("requestDate", getRequestDate())
            .append("reason", getReason())
            .append("estimatedCost", getEstimatedCost())
            .append("status", getStatus())
            .append("approvalDate", getApprovalDate())
            .toString();
    }
}
